#!/bin/sh

#declare -A MODULES_FILES
#declare -A NODES_NAMES
#declare -A NODES_THREADS

CASPER_ROOT_DIR=/share/apps/casperd

# Some directory settings
#CASPER_RUN_DIR=/var/run/casperd
#CASPER_RUN_DIR=${CASPER_ROOT_DIR}/run
CASPER_RUN_DIR=./run

CASPER_WORK_DIR=${CASPER_ROOT_DIR}/work
CASPER_POOL_DIR=${CASPER_ROOT_DIR}/pool

CASPER_PLUGINS_DIR=${CASPER_ROOT_DIR}/plugins

# Modules list to load
MODULES_LOAD="0"

MODULES_NAMES[0]="busconsole"
MODULES_NAMES[1]="dirmonitor"

MODULES_FILES[0]="src/modules/modules/.libs/libbusconsole.so"
MODULES_FILES[1]="src/modules/modules/.libs/libdirmonitor.so"
#MODULES_FILES[...]="..."

# Known nodes
NODES_NAMES[0]=frontend
NODES_NAMES[1]=compute-0-0
NODES_NAMES[2]=compute-0-1
NODES_NAMES[3]=compute-0-2
NODES_NAMES[4]=compute-0-3
NODES_THREADS[0]=8
NODES_THREADS[1]=8
NODES_THREADS[2]=8
NODES_THREADS[3]=8
NODES_THREADS[4]=8
